﻿<!--<select ng-model="selectedCategory">
	<option ng-repeat="category in categories" value="{{category}}">{{category}}
	</option>
</select>-->

<strong>All posts</strong>
<ul class="posts-list">
	<li class="post-item" ng-repeat="post in posts">
		<a href="#">{{post.title}}</a><span> by {{post.author}} </span><a href="#/posts/edit/{{post.id}}">Edit</a><button id='{{post.id}}' class="k-button remove-post">Remove</button>
	</li>
</ul>			
<!--<fieldset>
	<legend>New Post</legend>
	<label for="tb-title">Title:</label>
	<input type="text" id="tb-title" ng-model="newPost.Title" />
	<br />
	<label for="tb-content">Content:</label>
	<input type="text" id="tb-content" ng-model="newPost.Content" />
	<br />
	<label for="tb-category">category:</label>
	<input type="text" id="tb-category" ng-model="newPost.Category" />
	<br />
	<a href="#" ng-click="addPost()">Add</a>
</fieldset>-->
